package com.xbai.intervention.config;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author jxbai
 * @date 2021/1/14 0014
 */
/*@Configuration
public class SpringHealthLoadBalanceConfig {

    @Bean
    @ConditionalOnMissingBean
    public IRule springHealthRule() {
        return new RandomRule();
    }

}*/
